import App from '@/App.vue'
import modal from './modal'
import cache from './cache'

export default {
  install(app: App) {
    /* // 页签操作
    Vue.prototype.$tab = tab
    // 认证对象
    Vue.prototype.$auth = auth*/
    // 缓存对象
    app.config.globalProperties.$cache = cache
    // 模态框对象
    app.config.globalProperties.$modal = modal
    //app.prototype.$modal = modal
    /*// 下载文件
    Vue.prototype.$download = download*/
  },
}
